Replication File for "Civil Organizing in War: Evidence from Syrian Facebook Communities" Perspectives on Politics, forthcoming.

By Rana B. Khoury and Alexandra A. Siegel 


** Notes **

Last run by authors on macOS Monterey v 12.1
Rstudio verison 2023.06.0+421 
Running R version 4.3.0 

Working Directory will be automatically be set to location of "Khoury_Siegel_Replication" folder when code files are run. 

Because Crowdtangle terms of service prevent sharing the raw text data and there are ethnical concerns due to the politically sensitive nature of our analysis, we limit our replication data sets to page ids and relevant post-level covariates and metadata. 

** Citation **

Rana B. Khoury and Alexandra A. Siegel. 2024. "Civil Organizing in War: Evidence from Syrian Facebook Communities.” Perspectives on Politics, forthcoming.

@article{KhourySiegel2024,
author = {Khoury, Rana B. and Siegel, Alexandra A.},
journal = {Perspectives on Politics},
title = {{Civil Organizing in War: Evidence from Syrian Facebook Communities}},
volume = {(forthcoming)},
year = {2024}
}


** Input Data **

 (in the "data" subdirectory)
 
1. facebook_data.csv
-- Dataset of every post produced by our sample of Syrian Organization Facebook pages. Data collected using the Crowdtangle API. Variables include post ids, relevant location metadata, date of posting, and topic classification dummy variables. 

2. conflict_deaths_data.csv
-- Annual counts of reported conflict deaths from the UN Human Rights Council.

3. refugee_count_data.csv
-- Annual counts of the number of Syrian Refugees from the UNHCR. 


** Code Files **

If R files are run, they will generate the figures and tables and save them into the "plots" and "tables" subdirectories

1. where_when_why_analysis.R
-- Produces all quantitative plots and tables in manuscript and appendix: (Figure 1, Figure 2, Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure A1, Table A2, Figure A2)
